package com.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.crm.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.entity.Track;
import com.crm.entity.dto.TrackDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author crm
 * @since 2020-06-05
 */
public interface StudentMapper extends BaseMapper<Student> {
    Integer updateByStuId(@Param("stuId") String[] stuId, @Param("uid") Integer uid);
    List<Student> exportStudent(String[] ids);
    IPage<Student> getAllStudent(@Param("page") Page<Student> page, @Param("student") Student student,@Param("uid") Integer uid,@Param("dataEntryClerk") String dataEntryClerk);
    IPage<Student> getStudent(@Param("page") Page<Student> page, @Param("student") Student student);
}
